From: Marco Trevisan (TreviƱo) Date: Fri, 9 Aug 2019 00:17:49 +0000 (+0200) Subject: popupMenu: Remove extra parameter on boolean ParamSpec initialization X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~811^2^2~159 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=15c252c11df4d3711b641f1c35c3531844361635;p=gnome-shell.git popupMenu: Remove extra parameter on boolean ParamSpec initialization PopupBaseMenuItem properties were initialized using wrong param spec signature, fix this by removing the extra parameter. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/700 --- diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index 1943b269f..31506dcdf 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -57,11 +57,9 @@ var PopupBaseMenuItem = GObject.registerClass({ Properties: { 'active': GObject.ParamSpec.boolean('active', 'active', 'active', GObject.ParamFlags.READWRITE, - GObject.TYPE_BOOLEAN, false), 'sensitive': GObject.ParamSpec.boolean('sensitive', 'sensitive', 'sensitive', GObject.ParamFlags.READWRITE, - GObject.TYPE_BOOLEAN, true), }, Signals: {